/*
Colores:
Gris texto: 717469
Gris fondo: eeeeee
Gris botones: dedede
Verde botones: b7ce71
Verde h1: 48802c
*/

html * {
    margin: 0;
    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
}

/* GENERAL */

.spinner {
    padding: 5px;
    position: absolute;
    right: 0;
}

body {
    background-image:url('../images/back.jpg');
    background-color:#eeeeee;
    max-width:1024px;
	margin:0 auto;
	padding:0 10px; /* Prevent layout "sticking" to the edge of the browser */
}

.logo {
	padding:7px;
}

.box{
    border: 1px solid #717469; /*gris*/
    background:#eeeeee; /*gris claro*/;
    margin-top:6px;
    margin-bottom:6px;
    font-family: "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size:12px;
	color:#717469; /*gris*/
}

.pie{
    height:35px;
    border: 1px solid #717469; /*gris*/
    background:#eeeeee; /*gris claro*/;
    line-height:35px;
    font-family: "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size:12px;
	color:#717469; /*gris*/
	margin-bottom:6px;
}

.listacheckform ul{
    list-style:none;
	padding:0;
	width:260px;
}

.listacheckform input{
    background: #eeeeee;
    margin: 0px 0px 2px 2px;
}

.listacheck {
    padding: 10px 0 10px 0;
}

.listacheck ul{
    list-style:none;
    max-width: 1020px;
}

.listacheck li{
    width:245px;
    padding: 0 0 2px 55px;
    line-height: 25px;
    float: left;
}

.listacheck input{
    background: #eeeeee;
}

.breakspace{
    clear:both;
}

a:link, a:visited, a:hover {
    color: #717469;
    font-weight: bold;
    text-decoration: none;
}

h1 {
    color: #48802c;
    font-weight: normal;
    font-size: 16px;
    margin: .8em 0 .3em 0;
}

input, select, textarea {
    border: 2px solid #dedede;
    font: 11px Verdana, Arial, Helvetica, sans-serif;
    margin: 2px 0;
    padding: 2px 4px;
}
select {
   padding: 2px 2px 2px 0;
}
textarea {
	width: 250px;
	height: 150px;
	vertical-align: top;
}

input:focus, select:focus, textarea:focus {
    border: 2px solid #b7cE71;
}

.body {
    margin: 0 15px 10px 15px;
}

/* NAVIGATION MENU */

.nav {
    background: #fff ;
    border: 1px solid #ccc;
    border-style: solid none solid none;
    margin-top: 5px;
    padding: 7px 12px;
}

.menuButton {
    font-size: 10px;
    padding: 0 5px;
}
.menuButton a {
    color: #333;
    padding: 4px 6px;
}
.menuButton a.home {
    background: url(../images/skin/house.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}
.menuButton a.list {
    background: url(../images/skin/database_table.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}
.menuButton a.create {
    background: url(../images/skin/database_add.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

/* MESSAGES AND ERRORS */

.message {
    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
    border: 1px solid #b2d1ff;
    color: #006dba;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

div.errors {
    background: #fff3f3;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
}
div.errors ul {
    list-style: none;
    padding: 0;
}
div.errors li {
	background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
    line-height: 16px;
    padding-left: 30px;
}

td.errors select {
    border: 1px solid red;
}
td.errors input {
    border: 1px solid red;
}
td.errors textarea {
    border: 1px solid red;
}

/* TABLES */

table {
    width: 100%
}
th a:link, th a:visited, th a:hover {
    display: block;
    width: 100%;
}
th.asc a, th.desc a {
    background-position: right;
    background-repeat: no-repeat;
}
th.asc a {
    background-image: url(../images/skin/sorted_asc.gif);
}
th.desc a {
    background-image: url(../images/skin/sorted_desc.gif);
}

.odd {
    background: #eeeeee;
}
.even {
    background: #ececec;
}

/* LIST */

.list table {
    border:none;
}

.list th, .list td {
    border-top:solid 1px #dedede;
}
.list th:hover {
    background: #b7cE71;
}

.button_column {
    text-align: center;
    width: 100px;
}

/* PAGINATION */

.paginateButtons {
    background: #eeeeee;
    border: 0px solid #cecece;
    border-top: 1px solid #cecece;
    color: #717469;
    font-size: 10px;
    overflow: hidden;
    padding: 10px 3px;
    text-align: center;
}
.paginateButtons a {
    background: #eeeeee;
    border: 1px solid #CECECE;
    border-color: #ccc #aaa #aaa #ccc;
    color: #717469;
    margin: 0 3px;
    padding: 2px 6px;
}

.paginateButtons a:hover {
    background: #b7ce71;
}

.paginateButtons span {
    padding: 2px 3px;
}

/* DIALOG */

.dialog table {
    padding: 5px 0;
}

.prop {
    padding: 5px;
    line-height:25px;
}
.prop .name {
    text-align: left;
    width: 20%;
    white-space: nowrap;
}
.prop .value {
    text-align: left;
    width: 80%;
}

.prop .value input {
    width: 250px;
}

.prop ul {
    padding-left: 0px;
    list-style:none;
}

.prop li  {
}

/* ACTION BUTTONS */

.buttons {
    text-align: center;
    margin-top: 20px;
}

.buttons input {
    background: #dedede;
    border: 1px solid #717469;
    color: #717469;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    width: 200px;
    text-align: center;
    height: 30px;
    line-height: 30px;
}

.buttons input:hover, .buttons input:focus{
    background:#B7CE71; /*verde*/
}

ul#p_menu {
    vertical-align: 2%;
}

div.nav {
    display: none;
}

/*Datagrid*/

.datagrid {
	width:100%;
	border:solid 0px #CECECE;
	text-align:left;
}

.datagrid caption {
	text-align:center;
}

.datagrid thead tr{
	border-top: 1px solid #CECECE;
}

.datagrid th {
	background-color: #DEDEDE;
	background-repeat: repeat-x;
	vertical-align: middle;
	border-bottom:solid 1px #CECECE;
	border-left:solid 1px #CECECE;
	text-align:left;
	height:25px;
	padding: 0 10px;
	font-size:12px;
}

.datagrid th.selected {
	background-image: url('../assets/th-selected.gif');
	background-color: #DEDEDE;
	background-repeat: no-repeat;
	background-position: right center;
}


.datagrid th:first-child {
	border-left:none;
}

.datagrid tr {
	border-top:solid 1px #CECECE;
}

.datagrid tr.selected {
	background-color:#B7CE71;
}

.datagrid td {
	height:40px;
	padding: 0 10px;
	vertical-align: middle;
	border-top:solid 1px #CECECE;
}


.ie6 .datagrid tr.selected td,
.ie7 .datagrid tr.selected td {
	background-color:#B7CE71;
}

.ie6 .datagrid td,
.ie7 .datagrid td,
.ie8 .datagrid td {
	border-top: 1px solid #EEE;
}

/*
 * Icons
 */

.btn,
.ico,
.ch-dropdown-trigger,
.ch-tabNavigator .ch-tab-trigger-on {
	background-image: url('../assets/base.png');
}

.ico {
	display:block;
	width:16px;
	height:16px;
	text-indent:999px;
	overflow:hidden;
	background-repeat:no-repeat;
}

.ico.help {
    display:inline-block;
	background-position:0 -80px;
	float:right;
}

.ico.attention {
	background-position:0 -96px;
}

.ico.information {
	background-position:0 -64px;
}

.ico.error {
	background-position:0 -48px;
}

.ico.ok {
	background-position:0 -112px;
}

.ico.check {
	background-position:0 -128px;
}

.map_container{
    height:500px;
}

#map_canvas {
    height: 100%;
}

.directions_form{
    margin-top: 20px;
    max-width: 990px;
}

.errors_form{
    text-align: center;
    max-width: 990px;
}

.name_form{
    margin-top: 20px;
    max-width: 990px;
}
